set -e

# 构建
npm run build

# cd 到构建输出的目录下 
cd ./dist

git init
git add -A
git commit -m 'deploy'

# 部署到 https://<USERNAME>.github.io/<REPO>
git push -f https://gitee.com/dXmo/oasis-build.git master

cd -